
    var app = angular.module('OMG', ['ngRoute']);
        app.config(function ($routeProvider) {
            $routeProvider
                .when('/', {
                    controller: 'homeCtrl',
                    templateUrl: '../view/home.html'
                })
                .when('/reservation',{
                    controller: 'reservationCtrl',
                    templateUrl: '../view/reservation.html'
                })
                .when('/chooseUser',{
                    controller:'chooseUserCtrl',
                    templateUrl:'../view/chooseUser.html'
                })
                .when('/chooseShop',{
                    controller:'chooseShopCtrl',
                    templateUrl:'../view/chooseShop.html'
                })
                .when('/chooseMenu',{
                    controller:'chooseMenuCtrl',
                    templateUrl:'../view/chooseMenu.html'
                })
                .when('/showList',{
                    controller:'showListCtrl',
                    templateUrl:'../view/showList.html'
                })
        });




